﻿ 
using System;
using System.ComponentModel.DataAnnotations;
using Sharp.Domain.Model;

namespace Sharp.Domain.PlatformBoundedContext.OrgModule.Aggregates
{
    /// <summary>
    /// 业务组织列表
    /// </summary>
    public partial class OrgForBusinessList : AggregateRoot
    { 
        /// <summary>
        /// 业务组织id
        /// </summary>
        public Guid OrgForBusinessId { get; set; }
        /// <summary>
        /// 组织id
        /// </summary>
        public Guid OrgId { get; set; }
        /// <summary>
        /// 上级
        /// </summary>
        public System.Guid? ParentId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int OrderIndex
        {
            get;
            set;
        }

        /// <summary>
        /// 组织结构
        /// </summary>
        public Org Org { get; set; }
        /// <summary>
        /// 业务组织结构
        /// </summary>
        public OrgForBusiness OrgForBusiness{ get; set; }
    }
}
